package net.oschina.archx.dao;

import net.oschina.archx.spring.sequoiadb.support.SequoiaDaoSupport;
import org.springframework.stereotype.Repository;

import java.io.Serializable;

/**
 * TransDao
 *
 * @author Archx
 * @date 2015/6/30 0030
 */
@Repository
public class TransDao extends SequoiaDaoSupport {

    public void delete(Serializable id) {
        String sql = "delete from clouddb.kq_checkrecord where id = #{id}";
        getSession().execute(sql, id.toString());
    }
}
